package smartfleet.mobile;

import android.location.Location;

public class Destination {
	
	private int _id;
	
	private Location _dest;
	
	private String _name;
	
	public Destination(int id, String name, Location loc){
		
		this._id = id;
		this._name = name;
		this._dest = loc;
	}
	
	public Destination(Location loc){
		
		this._dest = loc;
	}
	
	public Location getLocation(){
		
		return this._dest;
	}
	
	public String getName(){
		
		return this._name;
	}
	
	public int getID(){
		
		return this._id;
	}
	
}
